<?php

namespace app\adminapi\controller\v1;

use app\common\model\Test;
use app\common\services\table\DataForm;
use app\common\services\table\DataTable;
use hiduoke\controller\AddonsController;
use hiduoke\controller\AdminController;
use Throwable;

class TableTest extends AddonsController
{
    protected $notLogin = '*';
    protected $notCheck = '*';
    /**
     * @var Test
     */
    protected $model;

    public function initialize(): void
    {
        parent::initialize();
        $this->model = new Test();
    }

    public function api()
    {
        return $this->success('ok');
    }
}
